﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Xss.Data.Mapper
{
    public class UpdateDataTableMapper : AdoMapper
    {
        public DataTable Data { get; set; }

        protected override object ExecuteIntenal(object paramater)
        {
            AdoCommander commonder = new AdoCommander(Request.Store.CurrentSession);
            return commonder.ExecuteUpdate(Data, Sql.GetStatement(paramater));

        }
    }
}
